import json
from fastapi import APIRouter, HTTPException,Depends
from typing import Optional, Any
from pydantic import BaseModel
from sqlalchemy.orm import Session
from app.common.response.response_schema import response_base

# status service
from app.api.service import station_service


# 创建status router路由
station_router = APIRouter()


@station_router.get("/")
async def get_stations():
    res =  await station_service.get_stations()
    return response_base.response_200(msg='站点信息返回成功',data=res)



